# 05-异常传递.py
def  fn01():
    print('fn01开始')
    num = 1/0
    print('fn01结束')
def fn02():
    print('fn02开始')
    fn01()
    print('fn02结束')
def main():
    try:
        fn02()
    except Exception as e:
        print(e)
main()